package cn.itcast.mapper;

import cn.itcast.pojo.Member;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @author: peterChen
 * @date: 2019/8/14 19:46
 * @description: TODO
 * @version: 1.0
 */
public interface MemberMapper {
    public Member findMemberByTelePhone(@Param("telephone") String telephone);

    public void add(Member member);

    public Integer findMemberCountBeforeDate(@Param("month") String month);

    public Integer findMemberCountAfterDate(@Param("date") String date);

    public Integer findMemberTotalCount();

    public Integer findMemberCountByDate(@Param("date") String date);
}
